package org.example.dao.impl;

import org.example.dao.UserDao;

public class UserDaoImpl implements UserDao {

    private String databaseName;
    private int connectionNum;

    public UserDaoImpl(String databaseName, int connectionNum){
        this.databaseName = databaseName;
        this.connectionNum = connectionNum;
    }

    public void init(){
        System.out.println("我User初始化");
    }

    public void save() {
        System.out.println("UserDao"+databaseName+"xx"+connectionNum);
    }
}
